package com.jiangjiang.eshop.commodity.convert;

import com.jiangjiang.eshop.commodity.domain.CategoryPropertyRelationshipEntity;
import com.jiangjiang.eshop.commodity.dto.CategoryPropertyRelationshipDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @ClassName CategoryPropertyRelationshipConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/6/20 16:11
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface CategoryPropertyRelationshipConvert {
    List<CategoryPropertyRelationshipEntity> convertDTOList2Entities(List<CategoryPropertyRelationshipDTO> relationshipDTOList);

    List<CategoryPropertyRelationshipDTO> convertEntities2DTOList(List<CategoryPropertyRelationshipEntity> entities);
}
